<template>
  <div>{{ store.count }}</div>
  <div>{{ store.doubleCount }}</div>
  <el-button @click="store.increment">增加</el-button>
</template>
<script setup lang="ts">
import { useCounterStore } from '@/stores/counter'
// 可以在组件中的任意位置访问 `store` 变量 ✨
const store = useCounterStore()
</script>
